package com.lihaozhe.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("role")
public class Role extends Model<Role> {
    private static final long serialVersionUID = -8321676824820631736L;
    @TableId(value = "rid",type = IdType.AUTO)
    private Long rid;
    @TableField(value = "role_name")
    private String roleName;
    @TableField(value = "role_name_zh")
    private String roleNameZh;
}
